if (SERVER) then
	AddCSLuaFile("shared.lua");
end;

if (CLIENT) then
	SWEP.PrintName			= "MP7";
	SWEP.Slot				= 4;
	SWEP.SlotPos			= 1;
	SWEP.IconLetter			= "b";
	
	SWEP.ViewModelFOV		= 60;
	SWEP.ViewModelFlip		= false;
end;

SWEP.Base				= "leaf_weapon_base";

SWEP.AdminSpawnable		= true;

SWEP.WorldModel 		= Model("models/weapons/w_smg1.mdl");
SWEP.ViewModel 			= Model("models/weapons/v_smg1.mdl");

SWEP.Weight				= 5
SWEP.AutoSwitchTo		= false
SWEP.AutoSwitchFrom		= false

SWEP.ReloadSound			= Sound("Weapon_AR2.Reload");
SWEP.Primary.Sound			= Sound("Weapon_SMG1.Single");
SWEP.Primary.Recoil			= 0.5;
SWEP.Primary.Damage			= 9;
SWEP.Primary.NumShots		= 1;
SWEP.Primary.Cone			= 0.05;
SWEP.Primary.ClipSize		= 35;
SWEP.Primary.Delay			= 0.07;
SWEP.Primary.DefaultClip	= 35;
SWEP.Primary.Automatic		= true;
SWEP.Primary.Ammo			= "smg1";

SWEP.Secondary.ClipSize		= -1;
SWEP.Secondary.DefaultClip	= -1;
SWEP.Secondary.Automatic	= false;
SWEP.Secondary.Ammo			= "none";

SWEP.IronSightPos 	= Vector(-6.4, -4, 3);
SWEP.IronSightAng 	= Vector(0, 0, 0);

SWEP.HolsteredPos 	= Vector(10.8, -5, -2);
SWEP.HolsteredAng 	= Vector(-5, 50, 0);

SWEP.HoldType = "smg";